/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package br.com.jr2tecnologia.model;

import br.com.jr2tecnologia.model.entity.Config;
import java.util.List;
import javax.annotation.PostConstruct;
import javax.ejb.Local;

/**
 *
 * @author ronildo
 */

@Local
public interface ConfigPersistenceLocal {

    @PostConstruct
    void initialize();

    Config findById(Config config);

    Config findConfigByName(String name) throws PersistenceUnitException;

    List<Config> list(Config config);

    List<Config> listAll();

    void persist(Config config);

    void remove(Config config);

    void update(Config config);
}
